package org.tangdao.modules.file.service;

import org.tangdao.modules.file.model.domain.FileEntity;

/**
 * @ClassName: FileEntity
 * @Description: TODO(这里用一句话描述这个类的作用)
 * @author RuYang
 * @date 2019/03/07
 * 
 */

public interface IFileEntityService {
	
	/**
	 * 
	 * @param md5
	 * @return
	 */
	public FileEntity getByMd5(String md5);
	
	/**
	 * 
	 * @param fileEntity
	 * @return
	 */
	public boolean insert(FileEntity fileEntity);
}
